import request from '@/utils/request'

// 查询石灰试验检测报告列表
export function listShShsybgBsInfo(query) {
  return request({
    url: '/report_sh/shShsybgBsInfo/list',
    method: 'get',
    params: query
  })
}

// 查询石灰试验检测报告详细
export function getShShsybgBsInfo(excelId) {
  return request({
    url: '/report_sh/shShsybgBsInfo/' + excelId,
    method: 'get'
  })
}

// 新增石灰试验检测报告
export function addShShsybgBsInfo(data) {
  return request({
    url: '/report_sh/shShsybgBsInfo',
    method: 'post',
    data: data
  })
}

// 修改石灰试验检测报告
export function updateShShsybgBsInfo(data) {
  return request({
    url: '/report_sh/shShsybgBsInfo',
    method: 'put',
    data: data
  })
}

// 删除石灰试验检测报告
export function delShShsybgBsInfo(excelId) {
  return request({
    url: '/report_sh/shShsybgBsInfo/' + excelId,
    method: 'delete'
  })
}

// 检测结论
export function queryJcjl(data) {
  return request({
    url: "report_sh/shShsybgBsInfo/jcjl",
    method: "put",
    data: data
  });
}
